package com.cfh.service;

import java.util.List;

import com.cfh.domain.User;
import com.cfh.domain.UserExample;

public interface UserService {

	public User getUserByUsernameAndPassword(String username, String password);

	public void changePassword(User currentUser, String newPassword);

	public List selectByExample(UserExample userExample, int start, int limit);

	int countByExample(UserExample example);

	public void insert(User user);

	public int update(User user);

	public int deleteByExample(UserExample example);
}